package com.ies.dx.dex.file;

import java.util.Vector;

import com.ies.dx.util.Input;

public class encoded_annotation extends dex_item
{
    private int type_idx; //uleb128   
    private int size; // uleb128 
    private Vector elements = new Vector(); //annotation_element
    
    public encoded_annotation(dex_file file)
    {
        super(file);
    }

    public void read(Input dis)
    {
        try
        {
            type_idx = dis.readULeb128();
            size = dis.readULeb128();
            for (int i = 0; i < size; i ++)
            {
                annotation_element ae = new annotation_element(mFile);
                ae.read(dis);
                elements.add(ae);
            }
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }

    public void show()
    {

        
    }

    public String getData()
    {

        return null;
    }

    @Override
    public void readData(Input dis)
    {
        // TODO Auto-generated method stub
        
    }  
    
    
}
